package com.example.demo.utils;

import java.util.UUID;

public class UUIDUtil {

    /**
     * 生成36位标准的UUID
     * @return
     */
    public static String uuid_36()
    {
        return UUID.randomUUID().toString();
    }
    /**
     * 生成32位的UUID
     * @return
     */
    public static String uuid_32()
    {
        return UUID.randomUUID().toString().replace("-","");
    }


}
